home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr44 / xlib06p1.zip / XPBITMAP.H < prev    next >
C/C++ Source or Header  |  1995-03-06  |  2KB  |  69 lines

  1. /*-----------------------------------------------------------------------
  2. ;
  3. ; XPBITMAP - header file
  4. ;
  5. ;
  6. ;
  7. ; ****** XLIB - Mode X graphics library                ****************
  8. ; ******                                               ****************
  9. ; ****** Written By Themie Gouthas                     ****************
  10. ; ****** Aeronautical Research Laboratory              ****************
  11. ; ****** Defence Science and Technology Organisation   ****************
  12. ; ****** Australia                                     ****************
  13. ;
  14. ; egg@dstos3.dsto.gov.au
  15. ; teg@bart.dsto.gov.au
  16. ;
  17. ;  Terminology & notes:
  18. ;         VRAM ==   Video RAM
  19. ;         SRAM ==   System RAM
  20. ;         X coordinates are in pixels unless explicitly stated
  21. ;
  22. ;-----------------------------------------------------------------------*/
  23.  
  24. #ifndef _XPBITMAP_H_
  25. #define _XPBITMAP_H_
  26.  
  27. #include "xdefs.h"
  28. /* FUNCTIONS =========================================================== */
  29.  
  30.  
  31. void x_put_masked_pbm(  /* Copy a planar bitmap from SRAM masking */
  32.   xScreenCoord_t X,    /* only non zero pixels to VRAM           */
  33.   xScreenCoord_t Y,
  34.   xPageHandle_t ScrnOffs,
  35.   BYTE * Bitmap);
  36.  
  37. void x_flip_masked_pbm(  /* Copy a planar bitmap from SRAM masking */
  38.   xScreenCoord_t X,     /* only non zero pixels to VRAM. Bitmap   */
  39.   xScreenCoord_t Y,     /* is mirrored.                           */
  40.   xPageHandle_t ScrnOffs,
  41.   BYTE * Bitmap,
  42.   int orientation);
  43.  
  44. void x_put_pbm(         /* Copy a planar bitmap from SRAM to VRAM */
  45.   xScreenCoord_t X,
  46.   xScreenCoord_t Y,
  47.   xPageHandle_t ScrnOffs,
  48.   BYTE * Bitmap);
  49.  
  50. void x_flip_pbm(         /* Copy a planar bitmap from SRAM to VRAM */
  51.   xScreenCoord_t X,
  52.   xScreenCoord_t Y,
  53.   xPageHandle_t ScrnOffs,
  54.   BYTE * Bitmap,
  55.   int orientation);
  56.  
  57. void x_get_pbm(         /* Copy a planar bitmap from VRAM to SRAM */
  58.   xScreenCoord_t X,
  59.   xScreenCoord_t Y,
  60.   int iNibbleWidth,
  61.   int iPixelHeight,
  62.   xPageHandle_t ScrnOffs,
  63.   BYTE * Bitmap);
  64.  
  65.  
  66. #endif
  67.  
  68.  
  69.